From d87cbd3e962196f16e7cb43b7956cf83edb31e7a Mon Sep 17 00:00:00 2001 From: "iap10@labyrinth.cl.cam.ac.uk" Date: Wed, 31 Dec 2003 17:54:16 +0000 Subject: [PATCH] bitkeeper revision 1.661 (3ff30d48qn0UJdw28uFYaO5EgbzFHQ) compatibility fix to remove a warning in tg3 driver. --- BitKeeper/etc/ignore | 1 + xen/include/xeno/pci.h | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/BitKeeper/etc/ignore b/BitKeeper/etc/ignore index ea3cbe4ab9..4455d9c5a1 100644 --- a/BitKeeper/etc/ignore +++ b/BitKeeper/etc/ignore @@ -534,3 +534,4 @@ xen/drivers/scsi/sym53c8xx_2/sym_hipd.o xen/drivers/scsi/sym53c8xx_2/sym_malloc.o xen/drivers/scsi/sym53c8xx_2/sym_misc.o xen/drivers/scsi/sym53c8xx_2/sym_nvram.o +xen/arch/i386/flushtlb.o diff --git a/xen/include/xeno/pci.h b/xen/include/xeno/pci.h index 33e612491e..0c45623eab 100644 --- a/xen/include/xeno/pci.h +++ b/xen/include/xeno/pci.h @@ -775,6 +775,11 @@ static inline void pci_set_drvdata (struct pci_dev *pdev, void *data) pdev->driver_data = data; } +static inline char *pci_name(struct pci_dev *pdev) +{ + return pdev->slot_name; +} + /* * The world is not perfect and supplies us with broken PCI devices. * For at least a part of these bugs we need a work-around, so both -- 2.30.2